﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace MedicalSelfserviceTerminals
{
    /// <summary>
    /// OfficeSelectWindow.xaml 的交互逻辑
    /// </summary>
    public partial class OfficeSelectWindow : Window
    {
        public OfficeSelectWindow()
        {
            InitializeComponent();
            titleBar.tbFuntxt.Text = "自助挂号";
            titleBar.Sec = 15;
            titleBar.WindowClose = WindowClose;

            office1.OfficeName = "242342342";
            office1.IsReg = System.Windows.Visibility.Hidden;
        }

        private void UCLeftButton_MouseLeftButtonDown_1(object sender, MouseButtonEventArgs e)
        {
            //this.DialogResult = false;
            this.Close();
        }

        public void WindowClose()
        {
            this.DialogResult = false;
            this.Close();
        }
    }
}
